.modal-zone {
  position: fixed;
  background-color: rgba(156, 156, 156, 0.4);
  z-index: 99;
  width: 100%;
  height: 100vh;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-window {
  width: 500px;
  height: fit-content;
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-title {
  text-transform: uppercase;
  font-size: 18px;
}

.news-date {
  font-size: 14px;
  margin-bottom: 20px;
}

.news-text {
  font-weight: 500;
  line-height: 30px;
}

.news-image {
  margin-top: 20px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  max-height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-img {
  width: 100%;
}

@media (max-width: 800px) {
  .modal-window {
    width: 100%;
    max-height: 800px;
    padding: 30px;
  }

  .news-text {
    width: 100%;
    min-height: 100px;
    max-height: 400px;
    height: 100%;
    overflow-y: auto;
  }
}
